$("body").ready(function() {
	$("#open_options").click(function() {
		console.log("open_options");
		if (chrome.runtime.openOptionsPage) {
			chrome.runtime.openOptionsPage();
		} else {
			window.open(chrome.runtime.getURL("popup.html"));
		}
	});
});